home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextLibrary / Documentation / NextDev / Examples / ServerVsHandler / simple_handler / server.mk < prev    next >
Encoding:
Makefile  |  1995-01-27  |  610 b   |  31 lines

  1. NAME=simple
  2. CFILES= simple_server.c simple_handler.c
  3. MIGCFILES= 
  4. MIGINCLUDES= simpleServer.c simple.h
  5. HFILES= simple_types.h
  6. LD=kl_ld
  7.  
  8. CFLAGS= -g -O -MD -DKERNEL -DKERNEL_FEATURES -DMACH
  9.  
  10. OFILES= simple_server.o simple_handler.o
  11.  
  12. all:    $(NAME)_reloc
  13.  
  14. $(NAME)_reloc : $(OFILES) Load_Commands.sect Unload_Commands.sect
  15.     ${LD} -n $(NAME) -l Load_Commands.sect -u Unload_Commands.sect \
  16.         -i instance -d $(NAME)_loadable -o $@ $(OFILES)
  17.  
  18. .c.o:
  19.     $(CC) $(CFLAGS) -c $*.c
  20.     md -u Makedep -d $*.d
  21.  
  22. simple_handler.o: simpleServer.c
  23.  
  24. simpleServer.c simple.h: simple.defs 
  25.     mig ${MIGFLAGS} simple.defs
  26.  
  27. -include Makedep
  28.  
  29.  
  30.  
  31.